@extends('admin.layout.space')
@section('content')

    <body class="gray-bg">

    <div class="middle-box text-center loginscreen animated fadeInDown">
        <div>
            <div>

                <h1 class="logo-name">M+</h1>

            </div>
            <h3>{{ trans('admin/message.login_welcome') }}</h3>
            <div class="alert alert-error">{{$message or ""}}</div>
            <form class="m-t" role="form" method="post" >
                <input type="hidden" name="_token"         value="{{csrf_token()}}"/>
                <div class="form-group">
                    <input type="text" class="form-control" name="username" placeholder="{{ trans('admin/message.username') }}" value="{{$username or ''}}" required="" min="5">
                </div>
                <div class="form-group">
                    <input type="password" class="form-control" name="password" placeholder="{{ trans('admin/message.password') }}" required="" min="5">
                </div>
                <button type="submit" class="btn btn-primary block full-width m-b">{{ trans('admin/message.login') }}</button>


            </form>
            <p class="m-t"> <small>{{ trans('admin/message.copyright') }}</small> </p>
        </div>
    </div>

    </body>
@endsection